home *** CD-ROM | disk | FTP | other *** search
/ Hottest 6 / Hottest 6 (1996)(PDSoft)[!].iso / software / fredfish / 1048.lha / Programs / 2Print / 2print2.README < prev    next >
Text File  |  1994-05-31  |  8KB  |  232 lines

  1.  
  2.         2Print is a simple little utility for HP Laserjets and other
  3. printers that support the HP-PCL language.  It's only goal in life is to
  4. print either 
  5.         - 1 166 chars x 66 line page or 
  6.         - 2 80 x 66 line pages per sheet.
  7.  
  8.         Yes I know that there are other such products in Amigaland and they
  9. have GUIs, bells & whistles, etc. and they support every printer under the
  10. sun *BUT* they are slow because they have to go through the printer.device
  11. whereas 2print's output has to be redirected to file or PAR: for printing.
  12.  
  13.         By accessing the printer directly, the speed increase is incredible
  14. because all you are transferring is the ASCII text (haven't tested with
  15. non-American English text because I am an ignorant American who wouldn't
  16. know what to do with an umlat if it hit me in the head ;-) ).
  17.  
  18.         The major reason I wrote this puppy was because I like to nest my
  19. code and attach comments where necessary...usually at the end of the line.
  20.  
  21.         While indented nesting is great coding practice (not to mention a
  22. neat little bug-swatter), it does produce lines that are more than 80 chars
  23. in length and I *HATE* reading line-wrapped code.  I want to see it all (or
  24. as much as I can) as a single line/object...no split variables for
  25. me...I've got enough bugs already.
  26.  
  27.         The other reason for it's birth is that I've become an
  28. etext-junkie.  Nothing like FTP'ing a good classic or two...and printing
  29. them out wastes a LOT of paper.  By printing 2 pages per sheet, I can halve
  30. my printing costs *AND* reduce the weight.  
  31.  
  32.         By printing half the pages and then flipping the pages over, I
  33. reduce my paper costs by 75%....the weight goes down accordingly too.
  34.  
  35.  
  36.         v2.0 is a feature-added release.
  37.  
  38.         Written by Raj Goel    
  39.  
  40.         frostbit@dorsai.dorsai.org  
  41.         BBS: (718) 805-8868   
  42.         VOICE 718-849-0944
  43.  
  44.  (C) Copyright 1994, FrostByte Consultants, NYC
  45.  
  46.  Suggested fee: $ 10.00 in US or LOCAL currencies
  47.        Mail to: 87-90 118 Street, Richmond Hill NY 11418
  48.  
  49.  
  50. ========== VERSION 2.0 DOCUMENTATION =============
  51.  
  52. USAGE: 2PRINT <textfile> [START_PAGE/N] [END_PAGE/N] [Width=0,1]
  53.        [Midbar=0,1] [Top/N] [Lines/N] [Footer=0,1,2]
  54.  
  55. NEW FEATURES:
  56.         New EMAIL Address
  57.       
  58.         TOP Offset 0-70 for 66 Line pages
  59.                    0-200 for 60 line pages
  60.  
  61.         LINES      # of lines per page
  62.  
  63.         FOOTER     0 None
  64.                    1 File name, Page Number
  65.                    2 File name, Page Number, TOP Offset, LINES per page
  66.  
  67.         BUILT-IN DOCUMENTATION / HELP 
  68.  
  69.         IT'S SHAREWARE NOW
  70.  
  71. Example: 2print -h
  72.          - HELP File
  73.  
  74.          2print s:foo >par: 
  75.          - prints file s:foo to the PARallel port
  76.  
  77.          2print s:foo w=1 m=0 >par: 
  78.          - prints file s:foo to the PARallel port as a 160 column wide page
  79.            without a bar down the middle of the page 
  80.            EXCELLENT for printing out source code that's over 80 column wide!
  81.  
  82.          2print s:foo >ram:myfile: 
  83.          - prints file s:foo to a file called ram:myfile 
  84.  
  85.          2print s:foo l=60 t=80 O=0 >par:
  86.          - prints file s:foo to the PARallel port
  87.            Each page has 60 lines, the FOOTER is NOT printed 
  88.            The Page is offset 80 DOTS to enable hole punching 
  89.  
  90.          t=0 is Standard.
  91.          t=80 l=66 allows hole punching at 66 lines
  92.          t=200 l=60 gives a 1.5+ inch TOP margin with 60 lines per page
  93.  
  94.          O=0 disables footer. 
  95.          O=1 prints filename & page number.
  96.          O=2 prints filename, page number, TOP offset & LINES.  Useful for experimentation
  97.  
  98. ========== VERSION 1.0 DOCUMENTATION =============
  99.  
  100.                 2Print 1.0 by Rajesh Goel
  101.                 (C) Copyright FrostByte Consultants, NYC, 1993
  102.  
  103.  
  104. USAGE
  105. =====
  106.         2print FILE S=# E=# W=# M=# >output
  107.  
  108.                 FILE                  Name of textfile to print
  109.                 S=<starting Page>     Start printing from which page
  110.                 E=<ending page>       End       ""    at   ""    "
  111.                 W=<width>             1 or 2...
  112.                                       1 = 166 columns x 66 lines
  113.                                       2 = 80   ""     x 66 ""
  114.  
  115.                 M=<Middle Bar>        0, >0
  116.                                       0 = don't print line in middle of page
  117.                                       1 = print line in middle of page
  118.  
  119.                 output                par: prints to parallel port
  120.                                       OUTFILE prints to a text file
  121.  
  122. EXAMPLES
  123. ========
  124.  
  125.         2print s:Startup-sequence >par:
  126.  
  127.                 will print s:startup-sequence to parallel port 
  128.                 starting at page 1, ending at the last page
  129.                 2 pages per sheet
  130.                 middle bar printed to seperate the pages
  131.  
  132.                 looks something like this:
  133.  
  134.                 +----------+----------+
  135.                 |          |          |
  136.                 | xxxxxxxx | xxxxxxxx |
  137.                 | xxxxxxxx | xxxxxxxx |
  138.                 | xxxxxxxx | xxxxxxxx |
  139.                 | xxxxxxxx | xxxxxxxx |
  140.                 | xxxxxxxx | xxxxxxxx |
  141.                 |          |          |
  142.                 +----------+----------+
  143.                   filename...page #
  144.  
  145.  
  146.         2print MyBuggyCode.c w=1 m=0 >par:
  147.  
  148.                 prints MyBuggyCode.c to the Parallel port
  149.                 1 wide page per sheet
  150.                 NO Separator bar/line
  151.  
  152.                 looks something like this:
  153.  
  154.                 +---------------------+
  155.                 |                     |
  156.                 | xxxxxxxxxxxxxxxxxxx |
  157.                 | xxxxxxxxxxxxxxxxxxx |
  158.                 | xxxxxxxxxxxxxxxxxxx |
  159.                 | xxxxxxxxxxxxxxxxxxx |
  160.                 | xxxxxxxxxxxxxxxxxxx |
  161.                 |                     |
  162.                 +---------------------+
  163.                   filename...page #
  164.  
  165.  
  166.         2print Hamlet.txt s=1 e=5 >Hamlet1-5
  167.  
  168.                 prints the FIRST 10 PAGES of Hamlet to a file called
  169.                 Hamlet1-5
  170.  
  171.                 Note that the default settings are 2 PAGES PER SHEET
  172.                 therefore, we have just written the first 660 LINES 
  173.                 (66 Lines/page x 2 pages/sheet x 5 sheets) to the
  174.                 output file.
  175.  
  176.  
  177.         2print ABigTextFile.tct s=1 E=1 >foo
  178.  
  179.                 prints the FIRST 2 PAGES (or 1 SHEET) from ABigTextFile.txt
  180.                 to a file called foo.
  181.                 
  182.  
  183.  
  184.         Here's what I generally do when I want to (ab)use the University's
  185. Laser Printer to printout important stuff like the JargonFile or Dracula:
  186.  
  187.         At home, I create several output files.  Each holds 10 sheets or
  188. so...that's just so that the sysadmins or other lan-nazi's don't flame me
  189. for abusing the FREE USER accounts...i.e.
  190.  
  191.         2print Jargonfile >foo
  192.                 ; this will tell me how many sheets will be printed
  193.                   
  194.         delete foo      ; don't need that file anymore
  195.  
  196.         2print Jargonfile S=1  E=10 >j1   
  197.         2print Jargonfile S=11 E=20 >j2   
  198.         2print Jargonfile S=21 E=30 >j3   
  199.         2print Jargonfile S=31 E=40 >j4   
  200.         2print Jargonfile S=41 E=50 >j5   
  201.         2print Jargonfile S=51 E=60 >j6   
  202.  
  203.         copy j* pc0:    ; stick them on a PC floppy for school
  204.  
  205.         at school, 
  206.                 copy j1 lpt1:
  207.  
  208.         sometime later
  209.                 copy j2 lpt1:
  210.                 .
  211.                 .
  212.                 .
  213.  
  214. ERRATA
  215. ======
  216.  
  217.         Send all bugs, flames, cash, blondes, beer, postcards, etc. to:
  218.  
  219.                 Raj Goel
  220.                 87-90 118 Street                <= SNAIL mail
  221.                 Richmond Hill, NY 11418
  222.  
  223.         Oh yeah, pass it around, it's free...almost.  You use it, you gotta
  224. send me something...
  225.  
  226.         something == [ Email | Postcards | Bugs | Wishlists | Whatever | Money ]
  227.  
  228.         Fred Fish and others of his ilk (Walnut Creek CDROM, etc) are
  229. EXPRESSLY AUTHORIZED to spread this stuff all over the galaxy.  Go ahead,
  230. make me famous.
  231.  
  232.